package com.wulijie.visitor;

/**
 * @Author cui
 * @Data
 */
public class VisitorClient {
    public static void main(String[] args) {
        ObjectStruct struct = new ObjectStruct();
        struct.add(new Woman());
        struct.add(new Man());
        //b 上一页 空格 下一页， q 退出  shift+g  最后一页 查询: /

        struct.display(new SuccessAction());
        struct.display(new FailAction());
    }
}
